<?
require_once( './path.php' ); 
require_once( CLASSMATE_ROOT.'\include\lib\Smarty\libs\Smarty.class.php');

/**
 * 初始化smarty类，设置相应的属性
 *
 * @auther <judasnow@gmail.com>
 */

class custom_smarty extends Smarty{

	public function __construct(){

		$this->template_dir   = CLASSMATE_ROOT.'/view/template/';
		$this->compile_dir    = CLASSMATE_ROOT.'/view/template_c/';
		$this->config_dir     = CLASSMATE_ROOT.'/config/';
		$this->cache_dir      = CLASSMATE_ROOT.'/view/cache/';
		$this->left_delimiter = '{?';
		$this->right_delimiter= '?}';		

		$this->caching = false;
	}
}

